class Person:
    name = ''

    def __init__(self):
        pass

    def getName(self):
        return self.name

    def setName(self, name):
        def sayHello():
            print("Hi I'm " + self.name)

        def showSelf():
            print(self)

        self.name = name
        sayHello()
        showSelf()


t = Person()
print(t.getName())
t.setName("Jason")
# print("Variable of class: " + Person.name)
